package com.burningtower.common;

import lombok.Data;

@Data
public class Result<T> {
    private Boolean success;
    private String msg;
    private T obj;

    public Result() {
        success=true;
    }

    public Result(T obj) {
        this.obj = obj;
        success=true;
    }

    public Result(String msg) {
        this.msg = msg;
        this.success=true;
    }
}
